//
//  MBProgressHUD+ErrorMessage.h
//  QA
//
//  Created by 李小龙 on 2017/5/2.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import <MBProgressHUD/MBProgressHUD.h>

#ifndef MB_INSTANCETYPE
#if __has_feature(objc_instancetype)
#define MB_INSTANCETYPE instancetype
#else
#define MB_INSTANCETYPE id
#endif
#endif

@interface MBProgressHUD (ErrorMessage)

+ (MB_INSTANCETYPE)myShowHUDAddedTo:(UIView *)view labelText:(NSString *)labelText animated:(BOOL)animated;
+ (MB_INSTANCETYPE)showError:(UIView *)view title:(NSString *)text code:(NSString *)code animated:(BOOL)animated;
+ (MB_INSTANCETYPE)showHUDProgress:(UIView *)view animated:(BOOL)animated;

@end
